Creation information for a raster state. More...
#include <kanzi/gfx/create_info.hpp>
Public Types | |
| using | HandleType |
| Raster state handle. | |
Public Attributes | |
| CullMode | cullMode |
| The raster cull mode. | |
| float | depthBiasConstantFactor |
| A scalar factor that controls the constant depth value to add to each fragment. | |
| float | depthBiasSlopeFactor |
| A scalar factor to apply to the slope of a fragment in depth bias calculations. | |
| FillMode | fillMode |
| The raster fill mode. | |
| FrontFaceOrientation | frontFace |
| The orientation that determines a front face. | |
| PrimitiveTopology | primitiveTopology |
| The primitive topology. | |
Public Attributes inherited from kanzi::gfx::BaseCreateInfo | |
| string_view | name |
| The name of the graphics object, useful for debugging. | |
Creation information for a raster state.
Raster state handle.
| FillMode kanzi::gfx::RasterStateCreateInfo::fillMode |
The raster fill mode.
| CullMode kanzi::gfx::RasterStateCreateInfo::cullMode |
The raster cull mode.
| FrontFaceOrientation kanzi::gfx::RasterStateCreateInfo::frontFace |
The orientation that determines a front face.
| PrimitiveTopology kanzi::gfx::RasterStateCreateInfo::primitiveTopology |
The primitive topology.
| float kanzi::gfx::RasterStateCreateInfo::depthBiasConstantFactor |
A scalar factor that controls the constant depth value to add to each fragment.
| float kanzi::gfx::RasterStateCreateInfo::depthBiasSlopeFactor |
A scalar factor to apply to the slope of a fragment in depth bias calculations.